package com.plexobject.docusearch.lucene.analyzer;

import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.LetterTokenizer;
import java.io.Reader;

public class MetaphoneReplacementAnalyzer extends Analyzer {
	public TokenStream tokenStream(String fieldName, Reader reader) {
		return new MetaphoneReplacementFilter(new LetterTokenizer(reader));
	}
}
